<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" session="true" %>
<%@ include file="include/lib.jsp"%>
<c:if test="${PartnersList != '[]'}">
<table border="1">
	<c:forEach var="item"  items="${PartnersList}">
		<tr>
			<td>${item.PARTNERID}</td>
			<td>${item.EMAILS}</td>
			<td>${item.PASSWORD}</td>
			<td>${item.NAMES}</td>
			<td>${item.COMPANYNAME}</td>
			<td>${item.ADDRESS}</td>
			<td>${item.PHONE}</td>
			<td>${item.MOBILEPHONE}</td>
			<td>${item.PROVINCE}</td>
			<td>${item.CITY}</td>
			<td>${item.NAMESTORE}</td>
			<td>${item.DATKB}</td>
			<td><input type="button" name="Edit" value="Edit" onclick="window.location.href='Partner/Register'"/></td>
			<td><input type="button" name="Delete" value="Delete" onclick="ajax('Partner/delete/'+'${item.PARTNERID}','PartnersList');"/></td>
		</tr>             
    </c:forEach>
</table>
</c:if>